<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
<html xmlns="http://www.w3.org/1999/xhtml"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core">
 
<head>
<title> Modify Info </title>
</head>
<body>
<h:form>
    <h:outputLabel value="Modify #{userBean.accountInfo.firstname}'s Info " />
<br></br>
<br></br>
   <h:outputLabel value=" Account Info " />
   <h:panelGrid columns="2">
      <h:outputText value="Username :"></h:outputText>
      <h:outputText value=" #{userBean.accountInfo.username} "></h:outputText>

      <h:outputText value="Password :"></h:outputText>
      <h:outputText value=" #{userBean.accountInfo.password} "></h:outputText>

      <h:outputText value="Firstname :"></h:outputText>
      <h:outputText value=" #{userBean.accountInfo.firstname} "></h:outputText>

      <h:outputText value="Lastname :"></h:outputText>
      <h:outputText value=" #{userBean.accountInfo.lastname} "></h:outputText>

      <h:outputText value="E-Mail :"></h:outputText>
      <h:outputText value=" #{userBean.accountInfo.email} "></h:outputText>
 
      <h:commandButton value="Modify Demographic Info" 
                   action="#{commonBean.modifyAccountInfo}"/>
    </h:panelGrid>
    </h:form>
<br></br>
<br></br>
    <h:form>
   <h:outputLabel value=" Demographic Info " />
   <h:panelGrid columns="2">
      <h:outputText value="State :"></h:outputText>
      <h:outputText value=" #{userBean.demographicInfo.state} "></h:outputText>

      <h:outputText value="Age :"></h:outputText>
      <h:outputText value=" #{userBean.demographicInfo.age} "></h:outputText>

      <h:outputText value="Sex :"></h:outputText>
      <h:outputText value=" #{userBean.demographicInfo.sex} "></h:outputText>

      <h:outputText value="Race :"></h:outputText>
      <h:outputText value=" #{userBean.demographicInfo.race} "></h:outputText>

      <h:outputText value="1. Relative :"></h:outputText>
      <h:outputText value=" #{userBean.demographicInfo.relative1} "></h:outputText>

      <h:outputText value="1. College :"></h:outputText>
      <h:outputText value=" #{userBean.demographicInfo.college1} "></h:outputText>

      <h:outputText value="2. Relative :"></h:outputText>
      <h:outputText value=" #{userBean.demographicInfo.relative2} "></h:outputText>

      <h:outputText value="2. College :"></h:outputText>
      <h:outputText value=" #{userBean.demographicInfo.college2} "></h:outputText>

      <h:outputText value="3. Relative :"></h:outputText>
      <h:outputText value=" #{userBean.demographicInfo.relative3} "></h:outputText>

      <h:outputText value="3. College :"></h:outputText>
      <h:outputText value=" #{userBean.demographicInfo.college3} "></h:outputText>

      <h:outputText value="4. Relative :"></h:outputText>
      <h:outputText value=" #{userBean.demographicInfo.relative4} "></h:outputText>

      <h:outputText value="4. College :"></h:outputText>
      <h:outputText value=" #{userBean.demographicInfo.college4} "></h:outputText>

      <h:outputText value="5. Relative :"></h:outputText>
      <h:outputText value=" #{userBean.demographicInfo.relative5} "></h:outputText>

      <h:outputText value="5. College :"></h:outputText>
      <h:outputText value=" #{userBean.demographicInfo.college5} "></h:outputText>

      <h:commandButton value="Modify Education Info"  
                   action="#{commonBean.modifyDemographicInfo}"/>
    </h:panelGrid>
    </h:form>
<br></br>
<br></br>
    <h:form>
   <h:outputLabel value=" Education Info " />
   <h:panelGrid columns="2">
      <h:outputText value="GPA :"></h:outputText>
      <h:outputText value=" #{userBean.educationInfo.GPA} "></h:outputText>

      <h:outputText value="SAT Math Score :"></h:outputText>
      <h:outputText value=" #{userBean.educationInfo.mathSAT} "></h:outputText>

      <h:outputText value="SAT Critical Reading Score :"></h:outputText>
      <h:outputText value=" #{userBean.educationInfo.creadSAT} "></h:outputText>

      <h:outputText value="SAT Writing Score :"></h:outputText>
      <h:outputText value=" #{userBean.educationInfo.writeSAT} "></h:outputText>

      <h:outputText value="ACT Math Score :"></h:outputText>
      <h:outputText value=" #{userBean.educationInfo.mathACT} "></h:outputText>

      <h:outputText value="ACT Read Score :"></h:outputText>
      <h:outputText value=" #{userBean.educationInfo.readACT} "></h:outputText>

      <h:outputText value="ACT English Score :"></h:outputText>
      <h:outputText value=" #{userBean.educationInfo.englishACT} "></h:outputText>

      <h:outputText value="ACT Science Score :"></h:outputText>
      <h:outputText value=" #{userBean.educationInfo.scienceACT} "></h:outputText>

      <h:commandButton value="Modify Education Info" 
                   action="#{commonBean.modifyEducationInfo}"/>
    </h:panelGrid>
    </h:form>
<br></br>
<br></br>
    <h:form>
   <h:outputLabel value=" Preference Info " />
   <h:panelGrid columns="2"  style="margin-bottom:10px" cellpadding="5">  
      <h:outputText value="Location Preference :"></h:outputText>
      <h:outputText value=" #{userBean.preferenceInfo.location} "></h:outputText>

      <h:outputText value="School Type Preference :"></h:outputText>
      <h:outputText value=" #{userBean.preferenceInfo.pubpri} "></h:outputText>

      <h:outputText value="Size of School Preference :"></h:outputText>
      <h:outputText value=" #{userBean.preferenceInfo.size} "></h:outputText>

      <h:outputText value="Male/Female Ratio Preference :"></h:outputText>
      <h:outputText value=" #{userBean.preferenceInfo.sexratio} "></h:outputText>

      <h:commandButton value="Modify Preference Info"
                   action="#{commonBean.modifyPreferenceInfo}"/>
    </h:panelGrid>
    </h:form>
<br></br>
<br></br>
    <h:form>

    <h:commandButton value="  Return to Main  "  
                     action="#{commonBean.returnToMain}"/>

</h:form>
</body>
</html>